package com.cta.dao;

import java.util.List;

import com.cta.entity.PBXFactory;
import com.cta.entity.Profile;
import com.cta.entity.ServiceProvider;
import com.cta.entity.Trunk;
import com.cta.utils.SupportLoaderDelegate;

public interface ProfilePersistence extends BasePersistence {

	/**
	 * find all providers
	 * 
	 * @return
	 */
	public List<ServiceProvider> findAllProviders();

	/**
	 * find all trunk
	 * 
	 * @return
	 */
	public List<Trunk> findAllTrunks();

	/**
	 * find list of trunk base on service provider id
	 * 
	 * @param serviceProviderId
	 * @return
	 */
	public List<Trunk> findTrunkByProvider(Long serviceProviderId);

	/**
	 * find all pbx factory
	 * 
	 * @return
	 */
	public List<PBXFactory> findAllPBXFactories();

	/**
	 * find all profile of pbx 
	 * 
	 * @return
	 */
	public List<Profile> findProfileByPBXId(Long pbxId);
}
